#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QXmlStreamReader>
#include <QTreeWidget>

namespace Ui {
    class MainWindow;
}

class MainWindow : public QMainWindow {
    Q_OBJECT
public:
    MainWindow(QWidget *parent = 0);
    ~MainWindow();


protected:
    void changeEvent(QEvent *e);

private:
    Ui::MainWindow *ui;   
    QXmlStreamReader xml;
    bool parseXml(QString &fileName);

private slots:
    void OpenFile();
    //void LoadMainWindowPlayList(QString &fileName);
};

#endif // MAINWINDOW_H
